<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<h6>部门总人数：${totalCount}人</h6>
<table class="display" id="example">
	<thead>
		<tr>
			<th>选择</th>
			<th><strong>绩等</strong></th>
			<th><strong>分数</strong></th>
			<th><strong>人数比率</strong></th>
			<th>分配人数</th>
			<th><strong>备注</strong></th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<s:if
			test="#request.examQualCoerceSets == null || #request.examQualCoerceSets.size() <= 0">
			<tr class="gradeX">
				<td colspan="7">暂无数据</td>
			</tr>
		</s:if>
		<s:else>
			<s:iterator value="#request.examQualCoerceSets" var="qualset"
				status="sta">
				<s:if test="#sta.even">
					<tr class="gradeX">
				</s:if>
				<s:else>
					<tr class="gradeC">
				</s:else>
				<td><input type="checkbox" name="chk_qualset"
					value="${qualset.id}" /></td>
				<td>${qualset.name}</td>
				<td>${qualset.scoreStart}-${qualset.scoreEnd}分</td>
				<td><div class="progress">
						<span style="width: ${qualset.percentage*100}%;"><b><fmt:formatNumber
									value="${qualset.percentage}" type="percent"></fmt:formatNumber></b></span>
					</div></td>
				<td>${qualset.number}人</td>
				<td>${qualset.remark}</td>
				<td><a class="button"
					href="#exam/qualset_add.xhtml?qualsetId=${qualset.id}&dispatchType=${qualset.type}"><span
						style="background: url(${ctx}/images/img/page_edit.png)"
						class="icon">&nbsp;</span>修改</a></td>
				</tr>
			</s:iterator>
		</s:else>
	</tbody>
</table>